package cn.com.gridinfo.sooc.core.my.msg.bean;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Property;
import net.tsz.afinal.annotation.sqlite.Table;

import java.util.Date;

/**
 * 消息公告
 * Created by jieli on 15/8/3.
 */
@Table(name="jpush_notice")
public class PushNotice {
    @Id
    private int id;
    /**
     * 消息Id
     */
    @Property(column = "noticeId")
    private int noticeId;

    /**
     * 消息标题
     */
    @Property(column = "noticeTitle")
    private String noticeTitle;
    /**
     * 消息描述
     */
    @Property(column = "noticeDec")
    private String noticeDec;
    /**
     * 消息读取状态 1已读 0 未读
     */
    @Property(column = "status")
    private int status=0;

    /**
     * 消息富文本链接地址
     */
    @Property(column = "noticeUrl")
    private String noticeUrl;

    /**
     * 创建时间
     */
    @Property(column = "createTime")
     private Date createTime;


    /**
     * 账户唯一标示 节点Id_userId
     */
    @Property(column = "suid",defaultValue = "")
    private String suid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(int noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeDec() {
        return noticeDec;
    }

    public void setNoticeDec(String noticeDec) {
        this.noticeDec = noticeDec;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getNoticeUrl() {
        return noticeUrl;
    }

    public void setNoticeUrl(String noticeUrl) {
        this.noticeUrl = noticeUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSuid() {
        return suid;
    }

    public void setSuid(String suid) {
        this.suid = suid;
    }
}
